# from java import jclass

import numpy as np
def arrayNum():
    a = np.array([1,2,3])
    return a
    # print (a)

def greet(name):
    print("--- hello,%s ---" % name)

def add(a,b):
    return a + b

def sub(count,a=0,b=0,c=0):
    return count - a - b -c

def get_list(a,b,c,d):
    return [a,b,c,d]

# def print_list(data):
#     print(type(data))
#     # 遍历Java的ArrayList对象
#     for i in range(data.size()):
#         print(data.get(i))

# python调用Java类
# def get_java_bean():
#     JavaBean = jclass("com.android.sdlc.checkterminal.JavaBean")#用自己的包名
#     jb = JavaBean("python")
#     jb.setData("json")
#     jb.setData("xml")
#     jb.setData("xhtml")
#     return jb
